package cn.com.tupperware.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.tupperware.dao.CustomersMapper;
import cn.com.tupperware.entity.Customers;
import cn.com.tupperware.service.ICustomerService;

@Service("customersMapper") 
public class ICustomerServiceImpl implements ICustomerService {
	@Autowired
	private CustomersMapper customer;

	public Customers getCustomerById(String cust_no) {
		// TODO Auto-generated method stub
		return this.customer.selectByPrimaryKey(cust_no);
	} 
}
